package com.example.demo.services.imp;


import com.example.demo.entity.admin;
import com.example.demo.mapper.adminMapper;
import com.example.demo.services.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImp implements AdminService {

    @Autowired
    private adminMapper adminMapper;


    @Override
    public admin selectPassword(String loginName, String password) {
        return adminMapper.selectPassword(loginName, password);
    }
}
